/**
 * Title: jFamilyTree
 * Description: jFamilyTree mutable
 * Version: provider
 * Copyright: (c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 * Update: Mon Mar 10 00:00:00 CEST 2008
 */
package jFamilyTree.model;

import java.awt.Color;

/**
 * Mutable node
 * 
 * @author Bernard Bou
 */
public class MutableNode extends Node
{
	/**
	 * Constructor
	 * 
	 * @param thisParent
	 *        parent
	 * @param thisId
	 *        id
	 */
	public MutableNode(INode thisParent, String thisId)
	{
		super(thisParent, thisId);
	}

	/**
	 * Set label
	 * 
	 * @param thisLabel
	 *        label
	 */
	public void setLabel(String thisLabel)
	{
		theLabel = thisLabel;
	}

	/**
	 * Set BDate
	 *
	 * @param thisBDate
	 *        BDate
	 */
	public void setBDate(String thisBDate)
	{
		theBDate = thisBDate;
	}
        
	/**
	 * Set content
	 * 
	 * @param thisContent
	 *        content
	 */
	public void setContent(String thisContent)
	{
		theContent = thisContent;
	}

	/**
	 * Set backcolor
	 * 
	 * @param thisColor
	 *        backcolor
	 */
	public void setBackColor(Color thisColor)
	{
		theBackColor = thisColor;
	}

	/**
	 * Set forecolor
	 * 
	 * @param thisColor
	 *        forecolor
	 */
	public void setForeColor(Color thisColor)
	{
		theForeColor = thisColor;
	}

	/**
	 * Set node image file
	 * 
	 * @param thisImageFile
	 *        image file
	 */
	public void setImageFile(String thisImageFile)
	{
		theImageFile = thisImageFile;
	}

	/**
	 * Set edge label
	 * 
	 * @param thisLabel
	 *        edge label
	 */
	public void setEdgeLabel(String thisLabel)
	{
		theEdgeLabel = thisLabel;
	}

	/**
	 * Set edge style
	 * 
	 * @param thisStyle
	 *        style
	 */
	public void setEdgeStyle(Integer thisStyle)
	{
		theEdgeStyle = thisStyle;
	}

	/**
	 * Set edge color
	 * 
	 * @param thisColor
	 *        color
	 */
	public void setEdgeColor(Color thisColor)
	{
		theEdgeColor = thisColor;
	}

	/**
	 * Set edge image file
	 * 
	 * @param thisImageFile
	 *        image file
	 */
	public void setEdgeImageFile(String thisImageFile)
	{
		theEdgeImageFile = thisImageFile;
	}

	/**
	 * Set node link URL
	 * 
	 * @param thisLink
	 *        link URL
	 */
	public void setLink(String thisLink)
	{
		theLink = thisLink;
	}

	/**
	 * Set node link target frame
	 * 
	 * @param thisTarget
	 *        link target frame
	 */
	public void setTarget(String thisTarget)
	{
		theTarget = thisTarget;
	}
}
